﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;


namespace PrjBaseWithAuth4.Domain.Entities
{
    [Table("S_Portals")]
    public class S_Portal
    {
        [Key]
        [Display(Name="站点标识")]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int id { get; set; }

        [Display(Name="站点名称")]
        [StringLength(128)]
        public String portal_name { get; set; }

        [Display(Name="站点图标")]
        [StringLength(128)]
        public String logo_file { get; set; }

        [Display(Name="站点脚注")]
        [StringLength(100)]
        public String footer_text { get; set; }
    }
}
